//
//  CNShopViewController.m
//  BeeQuick_19
//
//  Created by clinging on 16/9/25.
//  Copyright © 2016年 CN Team. All rights reserved.
//

#import "CNShopViewController.h"
#import "CNMineViewController.h"

@interface CNShopViewController ()
@property (nonatomic, strong) UIView * sView;
@end

@implementation CNShopViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
//    // 设置导航栏
//  self.navigationItem.leftBarButtonItem = [UIBarButtonItem barBuutonItemWithTarget:self action:@selector(backButClick) icon:@"v2_goback" highlighticon:@"v2_goback"];
    self.view.backgroundColor = [UIColor colorWithRed:229.0/255 green:229.0/255 blue:229.0/255 alpha:1.0f];
    self.sView = [[UIView alloc]init];
  _sView.frame = CGRectMake(20, 84, self.view.frame.size.width - 40, 180);
    [self.view addSubview:_sView];
    self.navigationItem.title = @"我的店铺";
    

//  UIView * shopView = [[NSBundle mainBundle] loadNibNamed:@"CNShopViewController" owner:nil options:nil][0];
// [self.view addSubview:shopView];
}
-(void)backButClick{

    CNMineViewController  * mineVC = [[CNMineViewController alloc]init];
    [self.navigationController pushViewController:mineVC animated:true];

}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
